xen/arm: Trap cache and TCM lockdown registers
authorJulien Grall <julien.grall@linaro.org>
Mon, 14 Apr 2014 19:00:14 +0000 (20:00 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 23 Apr 2014 09:31:07 +0000 (10:31 +0100)
commit11faafd9d9739a47d5fa360a43669f52672ef40e
tree4ff73a56997969e342e50f5b06b4df87a8277bed
parentcda12fa0cee7023878598ff8ced3613b57576ce3
xen/arm: Trap cache and TCM lockdown registers

Some cp15 c9/c10/c11 encodings are used for:
     - cache control
     - TCM control
     - branch predictor control

All of them are implementation defined. For now inject an undefined exception
if the guest wants try to access it.

This is CVE-2014-2915 / XSA-93.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c